|
|
|
|
ClickedRow Property, HeadersClass Class |
Returns the row index of the cell in the column header area that was last pressed.
Syntax HeadersClass Class (Softelvdm.SftTreeNET)
VB |
Public Property ClickedRow As Integer |
C# |
public int ClickedRow { get; set; } |
C++ |
public: property int ClickedRow { |
Property Value
The row index that was last pressed or -1 if no cell was pressed.
Comments
The ClickedRow property returns the row index of the cell in the column header area that was last pressed.
Only one cell in the entire column header area can be pressed at any time.
Depending on the Behavior property, a cell that is clicked may automatically return to its released position. In this case, the Pressed property returns null/Nothing. The LastClicked, ClickedRow and ClickedColumn reflect the last pressed cell, even if it has returned to its released position.
Cells in the header area should be defined using a background appearance that reflects their use as a header or button (CellBaseClass.Appearance). The default appearance for all headers can be defined using the AppearanceDefault property.